import {NgModule} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';
import {GnLayoutModule} from 'geminis-ng';
import {CommonModule} from '@angular/common';
import {PortalCenterComponent} from './center.component';
import {PortalProfileModule} from '../profile/profile.module';

const routes: Routes = [
  {
    path: '**',
    component: PortalCenterComponent
  }
];


@NgModule({
  declarations: [
    PortalCenterComponent
  ],
  imports: [
    RouterModule.forChild(routes),
    CommonModule,
    GnLayoutModule,
    PortalProfileModule
  ]
})
export class PortalCenterModule {
}
